+2006-06-02 Øyvind Kolås <pippin@gimp.org>
+
+ * extensions/gggl.c: (table_init): Fix some compile warnings.
+
2006-06-02 Øyvind Kolås <pippin@gimp.org>
I'm not entirely sure about installing babl-classes.h like this, it
for (i = 0; i < 256; i++)
{
float f = table_8_F[i];
- unsigned short *hi = ((unsigned short *) &f);
- unsigned short *lo = ((unsigned short *) &f);
+ unsigned short *hi = ((unsigned short *)(void*) &f);
+ unsigned short *lo = ((unsigned short *)(void*) &f);
*lo = 0;
table_F_8[(*hi)] = i;
}
}
return samples;
}
-
+#if 0
static INLINE long
conv_rgbaF_rgb8 (unsigned char *src, unsigned char *dst, long samples)
{
}
return samples;
}
+#endif
static INLINE long
conv_rgbaF_g8 (unsigned char *src, unsigned char *dst, long samples)